package com.systar.activity.events;

import java.io.File;

public class FileDetectionEvent extends AbstractActivityEvent
{
	private final File file;

	public FileDetectionEvent(File file)
	{
		this.file = file;
	}

	public File getFile()
	{
		return file;
	}

	@Override
	public String getType()
	{
		return "FILE";
	}

	@Override
	public String getMessage()
	{
		return file.getAbsolutePath();
	}

	@Override
	public void concat(IActivityEvent other)
	{
		// None
	}
}
